package com.zjuee.service.auth.vo;

import lombok.Data;

import java.util.ArrayList;
import java.util.List;

/**
 * @author wu liang
 * @since 1.0
 */
@Data
public class MenuVo {

    /*节点id*/
    private Long id;

    /*父节点id*/
    private Long parentId;

    /*节点类型：1模块 2操作（操作节点必须要填写menuUrl）*/
    private Byte nodeType;

    /*节点名称*/
    private String menuName;

    /*跳转路由*/
    private String router;

    /*是否显示*/
    private Boolean isShow;

    /*排序字段*/
    private Integer sort;

    /*资源级别*/
    private String levelCode;

    /*资源代码*/
    private String menuCode;

    /*所有子节点*/
    private List<MenuVo> children = new ArrayList<>();
}
